package win.bitterwine.entity;

import org.smart4j.framework.orm.annotation.Entity;

import java.util.Date;

/**
 * Created by Administrator on 2017/6/15.
 */
@Entity
public class B_roles {
    private int id;
    private int adminId;
    private String roles;
    private int yesno;
    private Date insDate;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAdminId() {
        return adminId;
    }

    public void setAdminId(int adminId) {
        this.adminId = adminId;
    }

    public String getRoles() {
        return roles;
    }

    public void setRoles(String roles) {
        this.roles = roles;
    }

    public int getYesno() {
        return yesno;
    }

    public void setYesno(int yesno) {
        this.yesno = yesno;
    }

    public Date getInsDate() {
        return insDate;
    }

    public void setInsDate(Date insDate) {
        this.insDate = insDate;
    }

    @Override
    public String toString() {
        return "B_roles{" +
                "id=" + id +
                ", adminId=" + adminId +
                ", roles='" + roles + '\'' +
                ", yesno=" + yesno +
                ", insDate=" + insDate +
                '}';
    }
}
